package com.jzr.bedside.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 排班类型
 * </p>
 *
 * @author henry
 * @since 2019-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TShiftType对象", description="排班类型")
public class TShiftType implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_shift_type";
    public static final String Id_ = "id";
    public static final String Code_ = "code";
    public static final String Name1_ = "name1";
    public static final String Name2_ = "name2";
    public static final String StartTime_ = "start_time";
    public static final String EndTime_ = "end_time";
    public static final String BgColor_ = "bg_color";
    public static final String FontColor_ = "font_color";
    public static final String Remark_ = "remark";
    public static final String UpdateBy_ = "update_by";
    public static final String UpdateTime_ = "update_time";


    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "输入键码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "班次名1")
    @TableField("name1")
    private String name1;

    @ApiModelProperty(value = "班次名2")
    @TableField("name2")
    private String name2;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField("end_time")
    private String endTime;

    @ApiModelProperty(value = "背景颜色")
    @TableField("bg_color")
    private String bgColor;

    @ApiModelProperty(value = "字体颜色")
    @TableField("font_color")
    private String fontColor;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
